jQuery('.photo-gallery-thumbs').dragscroll({ scrollBars:true, autoFadeBars:true, smoothness:15, mouseWheelVelocity:2 }); function printArticle(){ var html=jQuery(".block-content .shortcode-content").html(); var htmltitle=jQuery(".article-title h1").html(); if(jQuery(".main-article-content .article-photo img").size() > 0){var htmlphoto="";}else{var htmlphoto="";} if(jQuery(".logo-footer img").size() > 0){var htmllogo='
'+jQuery(".logo-footer").html()+'
';var logotext=false;}else{var htmllogo='
'+jQuery(".header-logo h1").html()+'
';var logotext=true;} var htmlcopy=jQuery(".footer .wrapper > p").html(); var htmlauthor=jQuery(".article-title .author .a-content b").html(); var htmldate=jQuery(".article-title .author .a-content > span.meta").html(); top.consoleRef=window.open('','articleprint', 'width=680,height=800' +',menubar=0' +',toolbar=1' +',status=0' +',scrollbars=1' +',resizable=1'); top.consoleRef.document.writeln(''+jQuery(document).attr('title')+'' +'
' +htmllogo +'

'+htmltitle+'

' +'
'+htmlauthor+''+htmldate+''+jQuery(location).attr('href')+'
' +'
'+htmlphoto+''+html+'
' +htmlcopy +'
' ); top.consoleRef.document.close(); } jQuery(document).ready(function(){ var jQuerycontainer=jQuery('#archive-content'); jQuery(window).load(function(){ jQuerycontainer.isotope({ itemSelector:'.block', layoutMode:'masonry', resizable: false, }); }); });